//* mother of all followers, similar to mummy but spawn followers

alien_fummy_images = new Images('fummy',4);

function AlienFummy() {
  // contructor
  var that = new AlienDummy();
  that.images = alien_fummy_images;
  that.shrapnel = 0;
  that.max_speed = 1;
  that.life = 2000;
  that.credit = 300;

  // update
  that.update = function() {
    // move
    this.simpleMove();
    // keep them near earth
    this.constraint(300);
    // once in a while summon random followers
    if ( (this.frame % 100 == 0)&&(aliens.aliens.length < 1000) ) {
      var d = new AlienFollowers(1);
      d[0].x = this.x;
      d[0].y = this.y; 
      aliens.add(d);
    }
  }
 
  return that;
}

function AlienFummies(ACount) {
  // create array of aliens
  var that = new Array();
  for (var i=0; i<ACount; i++)
      that.push(new AlienFummy());
  return that;  
}
